<style lang="less" scoped>
.component {
  .container {
    position: relative;
    height: 0.44rem;
    background-color: #1b88ee;
    > div {
      height: 100%;
      top: 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .left {
      position: absolute;
      width: 0.8rem;
      display: flex;
      align-items: center;
      .back {
        width: 20px;
        height: 20px;
      }
      .text {
        color: #ffffff;
      }
    }
    .center {
      color: #ffffff;
      font-size: 0.14rem;
    }
    .right {
      position: absolute;
      width: 0.5rem;
      right: 0;
    }
  }
}
</style>
<template>
  <div class="component">
    <div class="container">
      <div class="left" @click="cilckBack">
        <div class="back back11"></div>
        <div class="text">首页</div>
      </div>
      <div class="center">通知</div>
      <div class="right"></div>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      list: []
    };
  },
  methods: {
    getData() {},
    format(list) {},
    cilckBack(){
      this.$router.back()
    }
  },
  mounted() {
    this.getData();
  }
};
</script>
